package com.coderMan.generateBeanFromTable.bean;

import java.util.List;
import java.util.Map;

/**
 * Created by ${fanchunshuai} on 2017-5-3.
 *
 * @version: V1.0
 * @Desc: 生成javabean的描述
 * @Copyright (c) 2017 58到家-版权所有
 */
public class ClazzBean {
    /**
     * 包名
     */
    private String packageName;

    /**
     * 存放java类文件的地址
     */
    private String clazzPath;

    /**
     * 引用的包列表
     */
    private List<String> importClazzList;

    /**
     * 实体类名后缀
     */
    private String sufFix;

    /**
     * 实体类名前缀
     */
    private String preFix;

    /**
     * 实现的类名
     */
    private String implementsName;

    /**
     * 继承的类名
     */
    private String extendsName;

    /**
     * 类上的注释
     * key1:date    创建日期
     * key2:author  作者
     * key3:version 版本
     * key4:copy    版权
     * key5:descType v1:数据库映射对象 ， v2:数据传输对象 , v3:数据展示对象
     * key6:desc    类描述
     */
    private Map<String,String> classDescMap;


    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getClazzPath() {
        return clazzPath;
    }

    public void setClazzPath(String clazzPath) {
        this.clazzPath = clazzPath;
    }

    public List<String> getImportClazzList() {
        return importClazzList;
    }

    public void setImportClazzList(List<String> importClazzList) {
        this.importClazzList = importClazzList;
    }

    public String getSufFix() {
        return sufFix;
    }

    public void setSufFix(String sufFix) {
        this.sufFix = sufFix;
    }

    public String getPreFix() {
        return preFix;
    }

    public void setPreFix(String preFix) {
        this.preFix = preFix;
    }

    public String getImplementsName() {
        return implementsName;
    }

    public void setImplementsName(String implementsName) {
        this.implementsName = implementsName;
    }

    public String getExtendsName() {
        return extendsName;
    }

    public void setExtendsName(String extendsName) {
        this.extendsName = extendsName;
    }

    public Map<String, String> getClassDescMap() {
        return classDescMap;
    }

    public void setClassDescMap(Map<String, String> classDescMap) {
        this.classDescMap = classDescMap;
    }

    @Override
    public String toString() {
        return "ClazzBean{" +
                "packageName='" + packageName + '\'' +
                ", clazzPath='" + clazzPath + '\'' +
                ", importClazzList=" + importClazzList +
                ", sufFix='" + sufFix + '\'' +
                ", preFix='" + preFix + '\'' +
                ", implementsName='" + implementsName + '\'' +
                ", extendsName='" + extendsName + '\'' +
                ", classDescMap=" + classDescMap +
                '}';
    }
}
